<template>
	<navigator @click="setKeys" :url="'/packageA/pages/product/product?keyWord='+searchKeys" class="searchResultItem">
		{{searchKeys}}
	</navigator>
</template>

<script>
	import {setHistoryKeys} from '@/utils/index.js'
	export default{
		props:{
			searchKeys:{
				type:String
			}
		},
		data(){
			return{
				
			}
		},
		methods:{
			setKeys(){
				setHistoryKeys(this.searchKeys)
			}
		}
	}
</script>

<style lang="less">
	.searchResultItem{
		padding: .5rem;
		border-radius: 1rem;
		background-color:rgb(247,247,247);
		margin: .4rem;
	}
</style>